package com.example.fakeflappybird;

import android.graphics.Bitmap;

public class BitCore {
    private Bitmap bitmap;
    private int x,y,w,h;
    private boolean hasbeenScored;

    public boolean isHasbeenScored() {
        return hasbeenScored;
    }

    public void setHasbeenScored(boolean hasbeenScored) {
        this.hasbeenScored = hasbeenScored;
    }

    public BitCore(Bitmap bitmap, int x, int y, int w, int h) {
        this.bitmap = bitmap;
        this.x = x;
        this.y = y;
        this.w = w;
        this.h = h;
        hasbeenScored=false;
    }

    public Bitmap getBitmap() {
        return bitmap;
    }

    public void setBitmap(Bitmap bitmap) {
        this.bitmap = bitmap;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getW() {
        return w;
    }

    public void setW(int w) {
        this.w = w;
    }

    public int getH() {
        return h;
    }

    public void setH(int h) {
        this.h = h;
    }
}
